home *** CD-ROM | disk | FTP | other *** search
/ A.C.E. 2 / ACE CD 2.iso / FILES / UTILS / HSBASIC2.DMS / in.adf / HB2Examples1.3.Lha / Examples / RPDump / ReadMe < prev    next >
Encoding:
Text File  |  1994-04-14  |  1.1 KB  |  26 lines

  1. RPDump.bas - How to dump a RastPort to the printer
  2. ==================================================
  3.  
  4. Derived from RKM example (c) Copyright 1992 Commodore-Amiga, Inc.
  5.  
  6. This is a simplified translation of the Commodore "Printing with corrected
  7. aspect ratio" example taken from the Devices RKM p.189. The code has been set
  8. up so as to provide V33 compatability, without bothering to parse the
  9. available densities, leaving a simple dumpRP function which can be used to
  10. dump any RastPort.
  11.  
  12. The example shows setting up the printer IO blocks, then calling the routine
  13. in various ways to dump various different RastPorts.
  14.  
  15. The example will work on all non-obsolete versions of Workbench (V33
  16. and above).
  17.  
  18. Compiling
  19. ---------
  20. Load the RPDump_inc.bh file and Tokenise it (Program-Tokenise), making sure
  21. you have no token file selected in the File Options (Settings-Compiler-
  22. Files). Once you have your token file, set the File Options-Token File
  23. setting to the RPDump_inc.t file just created. Load the RPDump.bas file,
  24. compile, ensure your printer is online and you have selected a suitable
  25. driver from the system Printer Preferences program, then run the program.
  26.